<table align="center" cellpadding="0" cellspacing="0" class="product" border="0">

    <tr><td>
    <div id="new_item">
      <div id="new_item_header">
        <h1><?=$product['name']?></h1>
        <br>
        <h2>група: <?=$product['prodgroup']?></h2>
        <br>
        <h2>підгрупа: <?=$product['catalog']?></h2>
        <br>
        <h2>виробник: <?=$product['company']?></h2>
        <br>
        <h2>ціна: <?=$product['price']?> грн.</h2>
        

        
      </div>
      <div id="new_item_image"> 
          
          <?php foreach($theFiles as $file):?>
                <a href="<?=URL::site('public/images/goods/'.$product['id'].'/'.$file)?>">
                    <img src="<?=URL::site('public/images/goods/'.$product['id'].'/'.$file)?>"
                     width="75%"  alt="<?=$product['name']?>" />
                </a>
          <?php endforeach; ?>
      
      </div>
      <div id="new_item_text" style="font-size: 15px">
        <p><?=$product['about']?></p>
      </div>
      
        <div id="new_item_link">
          <a href="<?php echo URL::site('buy/'. $product['id']); ?>">
                    <img src="<?=URL::site('public/images/view/button_buy.gif')?>"
                     width="15%"  alt="<?=$product['name']?>"/>
          </a>
      </div>
      
        <div class="clearthis">&nbsp;</div>
    </div>
        </td></tr>
            
            

 

</table>
